home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
rexx
/
megacookie.mbrx
< prev
next >
Wrap
Text File
|
1996-07-10
|
2KB
|
53 lines
/*
MegaCookie ©1996 Eden Software
Written By Edward Farrow
*/
/*
MegaCookie Is A Fortune Cookie Program For MegaBook 3.0
This Is MBWare, It Is For Use With MegaBook 3.0 And Can Only Be Distributed
Within The MegaBook 3 Archive In An Unchanged Form! I Thank You =o)
*/
/* MegaBook Path Incase Its Not Loaded */
MBPath = 'MegaBook3:MegaBook'
/* Line Feed Char. Makes A New Line In Requestors (Ta Tom!) */
LF='0a'x
/* ' And " Chars. Makes Rexx Scripts Allow ' And " Symbols */
SQ='"'
DQ="'"
PARSE ARG LINE
/* Hunt Down Mr MegaBook And Use It! =o) */
IF ~show('P', 'MEGABOOK.01') THEN DO
ADDRESS COMMAND 'run >nil: 'MBPath
DO 5 WHILE ~show('P', 'MEGABOOK.01')
'SYS:REXXC/waitforport MEGABOOK.01'
END
END
ADDRESS 'MEGABOOK.01'
OPTIONS RESULTS
REQUEST 'MegaCookie v1.00 ©1996 Eden Software'LF'Written By Edward Farrow'LF'-=-=-=-=-=-=-=-=-=-=-=-=-'LF'Fortune Cookie Program' GADS '_Yupperz'
/* Cookie Picker */
Cookie.1 = "A women without a man is like"LF"a fish without a bicycle"
Cookie.2 = "Babies can"SQ"t walk because"LF"their legs aren"SQ"t long enough"LF"to reach the ground"
Cookie.3 = "Having children will turn you"LF"into a parent (shudder)"
Cookie.4 = "This fortune will self destruct"LF"in 30 seconds..."
Cookie.5 = "Man who eats jelly beans farts"LF"in techni-color"
Cookie.6 = "I.B.M: Inferior But Marketable"LF"P.C: Peice "DQ"Of"DQ" Crap"
Cookie.7 = "9 out of 10 cats prefer hamsters"
Cookie.8 = "A nuclear war can ruin your whole day"
Cookie.9 = "A penny saved is ridiculous!"
CALL Randu(time('s'))
picked = RANDOM(1,9)
COOKIE = Cookie.picked
/* Display Cookie */
REQUEST ''COOKIE'' GADS '_ho ho ho'
EXIT